﻿using B.S.BasicData.Api.Read.DTO;
using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Api.Read.Application.Command.Approval
{
    public class GetApprovalCommand : IRequest<ApiPaging<ApprovalDTO>>
    {
        public DateTime? LeaveStatrTime { get; set; }
        public DateTime? LeaveEndTime { get; set; }
        public bool? ApprovalState { get; set; }
        public string? Name { get; set; }
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;
        public int Uid {  get; set; }
    }
}
